<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String contextPath = request.getContextPath();
%>
<link rel="shortcut icon" href="<%=contextPath%>/img/bitbug_favicon.ico" type="image/x-icon" />

<html>
<head>
    <title>我的博客${displayName}</title>

</head>
<body>
<%--<%@include file="comm/top.jsp" %>--%>
<jsp:include page="comm/top.jsp"/>

<div class="container">
    <c:forEach var="article" items="${articles}">

        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title">${article.title}</h3>
            </div>
            <div class="panel-body">
                <div style="float: right"><img width="500px" height="200px" src="https://img2.baidu.com/it/u=206619874,1662054535&fm=253&fmt=auto&app=138&f=JPEG?w=641&h=447" alt="图片" title="图片"></div>

                <h4>${article.summary}</h4>
                <p><a class="btn btn-primary btn-lg" href="/article/detail/${article.id}/${article.category}" role="button">阅读全文</a></p>
                <h3 class="panel-title">发布日期：${article.time}</h3>
                <h3 class="panel-title">修改日期：</h3>

            </div>

        </div>
    </c:forEach>
</div>
</body>
</html>
